#include "Move.h"

Move::Move()
{}

Move::~Move()
{}

void Move::run(vector<vector<int>>& current, vector<vector<double>>& ve, vector<int>& limit)
{
	int ssize=current.size();
	for(int i=0;i<ssize;i++)
	{
		for(int j=0;j<current[i].size();j++)
		{
			int tmp=current[i][j]+ve[i][j];
			if(tmp>0&&tmp<limit[j])
				current[i][j]=tmp;
		}
	}
}